import Vue from 'vue'
import App from './App.vue'
import store from './store'
import router from './router'
import './mock'
import i18n from "./i18n.js"
import './plugins/element.js'
import './assets/css/normalize.css'
import Api from './api/index.js'
import './directive/permission.js'
import { vueBaberrage } from 'vue-baberrage' 
Vue.use(vueBaberrage)
Vue.prototype.$Api = Api

Vue.config.productionTip = false

new Vue({
  store,
  router,
  i18n,
  beforeCreate() {
  	Vue.prototype.$bus = this
  },
  render: h => h(App)
}).$mount('#app')
